<script setup lang='ts'>
defineOptions({
  name: 'HeadNav',
})
const router = useRouter()
function onClickLeft() {
  router.back()
}
</script>

<template>
  <div class="head-nav">
    <van-nav-bar title="首页" left-text="返回" left-arrow @click-left="onClickLeft" />
  </div>
</template>

<style lang='less' scoped>
</style>
